Lua/Events/Server/PlayerExitMG
From JC2-MP Documentation
< Lua
| Name | PlayerExitMG |
|---|---|
| Arguments (in table) | Player player, Vehicle vehicle |
| Return option | None |
Description
Fired when a player exits a vehicle's mounted gun.
Examples
function Foo(args) print(args.player:GetName().." exited a mounted gun on "..args.vehicle:GetName()) end Events:Subscribe("PlayerExitMG", Foo)